package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 学员信息对象 crm_student
 * 
 * @author Bill
 * @date 2024-06-22
 */
public class CrmStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 资源时间（资源从渠道来源） */
    @Excel(name = "资源时间", readConverterExp = "资=源从渠道来源")
    private Date resourceTime;

    /** 资源分配（资源分配当前招生老师的时间） */
//    @Excel(name = "分配时间", readConverterExp = "资=源分配时间")
    private Date allocationTime;

    /** 创建用户（用户ID） */
    private Long createUser;

    /** 资源来源方式（自有，其他） */
    @Excel(name = "资源来源方式", readConverterExp = "自=有，其他")
    private Integer resourceType;

    /** 渠道来源编码 */
    @Excel(name = "渠道来源编码")
    private Integer resourceCode;

    /** 来源用户（资源提供用户ID） */
    @Excel(name = "来源用户", readConverterExp = "资=源提供用户ID")
    private Long resourceUserId;

    /** 学员评级 */
    @Excel(name = "学员评级")
    private Integer levelCode;

    /** 销售类型（自销，其他） */
    @Excel(name = "销售类型", readConverterExp = "自=销，其他")
    private Integer salesType;

    /** 销售人员（人员ID） */
    @Excel(name = "销售人员", readConverterExp = "人=员ID")
    private Long salesmanId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String stuName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String stuMobile;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String stuPhone;

    /** 微信号 */
    @Excel(name = "微信号")
    private String stuWechat;

    /** 微信名 */
    @Excel(name = "微信名")
    private String stuWechatName;

    /** 微信备注 */
    private String stuWechatNote;

    /** QQ号 */
    @Excel(name = "QQ号")
    private String stuQq;

    /** 其他联系方式 */
    @Excel(name = "其他联系方式")
    private String stuOtherContact;

    /** 学员省份 */
    private String stuProvince;

    /** 学员城市 */
    @Excel(name = "学员城市")
    private String stuCity;

    /** 学员地址 */
    private String stuAddress;

    /** 学员学历编码 */
    @Excel(name = "学员学历编码")
    private String stuEducationCode;

    /** 毕业学校 */
    private String stuCollege;

    /** 客户需求 */
    @Excel(name = "客户需求")
    private String stuDamand;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 跟踪状态（0跟踪中 1未跟踪） */
    @Excel(name = "帐号状态", readConverterExp = "0=跟踪中,1=未跟踪")
    private String followStatus;

    /** 最后跟进时间 */
//    @Excel(name = "帐号状态", readConverterExp = "0=跟踪中,1=未跟踪")
    private Date followTime;

    /** 收藏状态（0已收藏 1未收藏） */
//    @Excel(name = "帐号状态", readConverterExp = "0=跟踪中,1=未跟踪")
    private String collectStatus;

    /** 最后更新用户（用户ID） */
    private Long updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setResourceTime(Date resourceTime) 
    {
        this.resourceTime = resourceTime;
    }

    public Date getResourceTime() 
    {
        return resourceTime;
    }

    public Date getAllocationTime() {
        return allocationTime;
    }

    public void setAllocationTime(Date allocationTime) {
        this.allocationTime = allocationTime;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setResourceType(Integer resourceType) 
    {
        this.resourceType = resourceType;
    }

    public Integer getResourceType() 
    {
        return resourceType;
    }

    public void setResourceCode(Integer resourceCode) 
    {
        this.resourceCode = resourceCode;
    }

    public Integer getResourceCode() 
    {
        return resourceCode;
    }

    public void setResourceUserId(Long resourceUserId) 
    {
        this.resourceUserId = resourceUserId;
    }

    public Long getResourceUserId() 
    {
        return resourceUserId;
    }

    public void setLevelCode(Integer levelCode) 
    {
        this.levelCode = levelCode;
    }

    public Integer getLevelCode() 
    {
        return levelCode;
    }

    public void setSalesType(Integer salesType) 
    {
        this.salesType = salesType;
    }

    public Integer getSalesType() 
    {
        return salesType;
    }

    public void setSalesmanId(Long salesmanId) 
    {
        this.salesmanId = salesmanId;
    }

    public Long getSalesmanId() 
    {
        return salesmanId;
    }

    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }

    public void setStuMobile(String stuMobile) 
    {
        this.stuMobile = stuMobile;
    }

    public String getStuMobile() 
    {
        return stuMobile;
    }

    public void setStuPhone(String stuPhone) 
    {
        this.stuPhone = stuPhone;
    }

    public String getStuPhone() 
    {
        return stuPhone;
    }

    public void setStuWechat(String stuWechat) 
    {
        this.stuWechat = stuWechat;
    }

    public String getStuWechat() 
    {
        return stuWechat;
    }

    public void setStuWechatName(String stuWechatName) 
    {
        this.stuWechatName = stuWechatName;
    }

    public String getStuWechatName() 
    {
        return stuWechatName;
    }

    public void setStuWechatNote(String stuWechatNote) 
    {
        this.stuWechatNote = stuWechatNote;
    }

    public String getStuWechatNote() 
    {
        return stuWechatNote;
    }

    public void setStuQq(String stuQq) 
    {
        this.stuQq = stuQq;
    }

    public String getStuQq() 
    {
        return stuQq;
    }

    public void setStuOtherContact(String stuOtherContact) 
    {
        this.stuOtherContact = stuOtherContact;
    }

    public String getStuOtherContact() 
    {
        return stuOtherContact;
    }

    public void setStuProvince(String stuProvince) 
    {
        this.stuProvince = stuProvince;
    }

    public String getStuProvince() 
    {
        return stuProvince;
    }

    public void setStuCity(String stuCity) 
    {
        this.stuCity = stuCity;
    }

    public String getStuCity() 
    {
        return stuCity;
    }

    public void setStuAddress(String stuAddress) 
    {
        this.stuAddress = stuAddress;
    }

    public String getStuAddress() 
    {
        return stuAddress;
    }

    public void setStuEducationCode(String stuEducationCode) 
    {
        this.stuEducationCode = stuEducationCode;
    }

    public String getStuEducationCode() 
    {
        return stuEducationCode;
    }

    public void setStuCollege(String stuCollege) 
    {
        this.stuCollege = stuCollege;
    }

    public String getStuCollege() 
    {
        return stuCollege;
    }

    public void setStuDamand(String stuDamand) 
    {
        this.stuDamand = stuDamand;
    }

    public String getStuDamand() 
    {
        return stuDamand;
    }

    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    public String getFollowStatus() {
        return followStatus;
    }

    public void setFollowStatus(String followStatus) {
        this.followStatus = followStatus;
    }

    public Date getFollowTime() {
        return followTime;
    }

    public void setFollowTime(Date followTime) {
        this.followTime = followTime;
    }

    public String getCollectStatus() {
        return collectStatus;
    }

    public void setCollectStatus(String collectStatus) {
        this.collectStatus = collectStatus;
    }

    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("resourceTime", getResourceTime())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("resourceType", getResourceType())
            .append("resourceCode", getResourceCode())
            .append("resourceUserId", getResourceUserId())
            .append("levelCode", getLevelCode())
            .append("salesType", getSalesType())
            .append("salesmanId", getSalesmanId())
            .append("stuName", getStuName())
            .append("stuMobile", getStuMobile())
            .append("stuPhone", getStuPhone())
            .append("stuWechat", getStuWechat())
            .append("stuWechatName", getStuWechatName())
            .append("stuWechatNote", getStuWechatNote())
            .append("stuQq", getStuQq())
            .append("stuOtherContact", getStuOtherContact())
            .append("stuProvince", getStuProvince())
            .append("stuCity", getStuCity())
            .append("stuAddress", getStuAddress())
            .append("stuEducationCode", getStuEducationCode())
            .append("stuCollege", getStuCollege())
            .append("stuDamand", getStuDamand())
            .append("note", getNote())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("followStatus", getFollowStatus())
            .append("followTime", getFollowTime())
            .append("collectStatus", getCollectStatus())
            .toString();
    }
}
